<?php
require_once('creditos/dao_creditos.php');
class ci_creditos extends financiera_ci
{
	protected $filtro;
	protected $s__seleccion;
	protected $s__datos_filtro;
	protected $s__where;
	
	//-----------------------------------------------------------------------------------
	//---- Configuraciones --------------------------------------------------------------
	//-----------------------------------------------------------------------------------

	function conf()
	{
		$this->cn()->cargar();
	}

	//-----------------------------------------------------------------------------------
	//---- form -------------------------------------------------------------------------
	//-----------------------------------------------------------------------------------

	function conf__form(financiera_ei_formulario $form)
	{
	}

	function evt__form__alta($datos)
	{
		$this->cn()->agregar_credito($datos);
		//ei_arbol($datos);
		$this->cn()->guardar();
	}
}
?>